package ee.az.test.serialization;

import java.awt.Color;
import java.io.Serializable;

/**
 * @author Artur Zinatullin (artur.zinatullin@gmail.com) 2010
 */
public class Part implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private int size;
	private Color color;
	private String name;

	public Part() {
	}
	
	public Part(int size, Color color, String name) {
		this.size = size;
		this.color = color;
		this.name = name;
	}

	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public Color getColor() {
		return color;
	}
	public void setColor(Color color) {
		this.color = color;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
